<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <title>点标记</title>
    <link rel="stylesheet" href="{$protocol}cache.amap.com/lbs/static/main1119.css"/>
    <script src="{$protocol}webapi.amap.com/maps?v=1.4.6&key=您申请的key值"></script>
    <script type="text/javascript" src="{$protocol}cache.amap.com/lbs/static/addToolbar.js"></script>
    <script src="__PUBLIC__/js/jquery.js"></script>
</head>
<body>
<div id="container"></div>
<script>
    var map = new AMap.Map("container", {
        resizeEnable: true,
        center: {$local},
        zoom: 16
    });
    var marker = new AMap.Marker({
        icon: "{$protocol}webapi.amap.com/theme/v1.3/markers/n/mark_b.png",
        position: {$local}
    });
    marker.setMap(map);
</script>
</body>
</html>